package Com.amit.corejava;

public class Lab6 {

	void sum(int a,int b)
	{
		System.out.println(a+b);
	}
	
	void sum(int a,int b,int c)
	{
		System.out.println(a+b+c);
	}
	
	public static void main(String[] args) {
		
		Lab6 l1=new Lab6();
		Lab6 l2=new Lab6();
		
		l1.sum(10, 10);
		l2.sum(20,20,20);
		
		
		
		

	}

}
